home *** CD-ROM | disk | FTP | other *** search
/ This Disc Bytes! / Power Computing - The Disc 2 - This Disc Bytes.ISO / mac / CodeWarrior 7 Lite for 68K / MacOS Support / Headers / Universal Headers / AEUserTermTypes.h < prev    next >
Text File  |  1995-07-06  |  3KB  |  98 lines

  1. /*
  2.      File:        AEUserTermTypes.h
  3.  
  4.      Contains:    AppleEvents AEUT resource format Interfaces.
  5.  
  6.      Version:    Technology:    System 7.5
  7.                  Package:    Universal Interfaces 2.1 in “MPW Latest” on ETO #18
  8.  
  9.      Copyright:    © 1984-1995 by Apple Computer, Inc.
  10.                  All rights reserved.
  11.  
  12.      Bugs?:        If you find a problem with this file, use the Apple Bug Reporter
  13.                  stack.  Include the file and version information (from above)
  14.                  in the problem description and send to:
  15.                      Internet:    apple.bugs@applelink.apple.com
  16.                      AppleLink:    APPLE.BUGS
  17.  
  18. */
  19.  
  20. #ifndef __AEUSERTERMTYPES__
  21. #define __AEUSERTERMTYPES__
  22.  
  23.  
  24. #ifdef __cplusplus
  25. extern "C" {
  26. #endif
  27.  
  28. #if PRAGMA_ALIGN_SUPPORTED
  29. #pragma options align=mac68k
  30. #endif
  31.  
  32. #if PRAGMA_IMPORT_SUPPORTED
  33. #pragma import on
  34. #endif
  35.  
  36.  
  37. enum {
  38.     kAEUserTerminology            = 'aeut',                        /*  0x61657574  */
  39.     kAETerminologyExtension        = 'aete',                        /*  0x61657465  */
  40.     kAEScriptingSizeResource    = 'scsz'
  41. };
  42.  
  43. enum {
  44.     kAEUTHasReturningParam        = 31,                            /* if event has a keyASReturning param */
  45.     kAEUTOptional                = 15,                            /* if something is optional */
  46.     kAEUTlistOfItems            = 14,                            /* if property or reply is a list. */
  47.     kAEUTEnumerated                = 13,                            /* if property or reply is of an enumerated type. */
  48.     kAEUTReadWrite                = 12,                            /* if property is writable. */
  49.     kAEUTChangesState            = 12,                            /* if an event changes state. */
  50.     kAEUTTightBindingFunction    = 12,                            /* if this is a tight-binding precedence function. */
  51.     kAEUTApostrophe                = 3,                            /* if a term contains an apostrophe. */
  52.     kAEUTFeminine                = 2,                            /* if a term is feminine gender. */
  53.     kAEUTMasculine                = 1,                            /* if a term is masculine gender. */
  54.     kAEUTPlural                    = 0                                /* if a term is plural. */
  55. };
  56.  
  57. struct TScriptingSizeResource {
  58.     short                            scriptingSizeFlags;
  59.     unsigned long                    minStackSize;
  60.     unsigned long                    preferredStackSize;
  61.     unsigned long                    maxStackSize;
  62.     unsigned long                    minHeapSize;
  63.     unsigned long                    preferredHeapSize;
  64.     unsigned long                    maxHeapSize;
  65. };
  66.  
  67. enum {
  68. /*    If kLaunchToGetTerminology is 0, 'aete' is read directly from res file.  If set
  69.         to 1, then launch and use 'gdut' to get terminology. */
  70.     kLaunchToGetTerminology        = (1 << 15),
  71. /*    If kDontFindAppBySignature is 0, then find app with signature if lost.  If 1, 
  72.         then don't */
  73.     kDontFindAppBySignature        = (1 << 14),
  74. /*     If kAlwaysSendSubject 0, then send subject when appropriate. If 1, then every 
  75.         event has Subject Attribute */
  76.     kAlwaysSendSubject            = (1 << 13)
  77. };
  78.  
  79. /* old names for above bits. */
  80. enum {
  81.     kReadExtensionTermsMask        = (1 << 15)
  82. };
  83.  
  84.  
  85. #if PRAGMA_IMPORT_SUPPORTED
  86. #pragma import off
  87. #endif
  88.  
  89. #if PRAGMA_ALIGN_SUPPORTED
  90. #pragma options align=reset
  91. #endif
  92.  
  93. #ifdef __cplusplus
  94. }
  95. #endif
  96.  
  97. #endif /* __AEUSERTERMTYPES__ */
  98.